package io.wdb.modules.generator.generator.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.generator.generator.entity.BsBookshelfEntity;
import io.wdb.modules.generator.generator.service.BsBookshelfService;
import io.wdb.modules.manager.group.dao.BsBookshelfDao;



@Service("bsBookshelfService")
public class BsBookshelfServiceImpl implements BsBookshelfService {
	@Autowired
	private BsBookshelfDao bsBookshelfDao;
	
	@Override
	public BsBookshelfEntity queryObject(String id){
		return bsBookshelfDao.queryObject(id);
	}
	
	@Override
	public List<BsBookshelfEntity> queryList(Map<String, Object> map){
		return bsBookshelfDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bsBookshelfDao.queryTotal(map);
	}
	
	@Override
	public void save(BsBookshelfEntity bsBookshelf){
		bsBookshelfDao.save(bsBookshelf);
	}
	
	@Override
	public void update(BsBookshelfEntity bsBookshelf){
		bsBookshelfDao.update(bsBookshelf);
	}
	
	@Override
	public void delete(String id){
		bsBookshelfDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		bsBookshelfDao.deleteBatch(ids);
	}
	
}
